Don't reset input buffer on open

Fixes #249 which causes data that has been buffering in the OS to be dropped on Posix systems with no way to recover.  Windows does not reset_input_buffer on open.
1 file changed