Add SSL support

* Also, fix bug where read_nonblock doesn't raise EOF in playback mode
Support blocking reads; add gets and print methods

* I debated making blocking reads on by default since it's technically
  the correct behavior, but that would mean that single threaded
  programs would hang if the read out of order and crashing seems more
  desirable in a test suite than hanging.
Make read and write common
Stub read method
Merge pull request #3 from sionide21/methods_for_imap

Add SSL Support, `gets`, `print`, and blocking reads