resolve line end problem of key and cert files: read as binary instead utf8.

Hello,

I would propose this patch to correct the issue of line end on passing key and cert files. It would be good to read as binary format instead of utf8, splitting, removing comments, etc.
Usually this files does not intended to contain any comments.