webservices: Add support for reading comments in binary mode.