Added customized read() support

I'm using `bson_reader` to read BSON documents from a TCP socket directly, but SSL has another `read` function called `SSL_read`. Therefore a customized `read` is necessary, and I made some changes to make things possible.

PS: I also added AM_SILENT_RULES to make the output cleaner. :-)