Add fake socket with garbage collection methods for PyPy compatibility.

Fixes https://github.com/jjlee/mechanize/issues/98