Small fix to allow use of HTTPSConnectionPool. Added fileno and close wrappers.