Catch socket.error when uploading a paste.
Catch socket.error when uploading a paste.

This closes issue #134.

wevial/bpython,kdart/bpython,aktorion/bpython,aktorion/bpython,kdart/bpython,wevial/bpython