Fix TypeError when importing GetworkSource

a5ab744770e877dad32cc40fa1f21e7c6daf3970 moved the import of
GetworkSource to a point after which the socket.socket class was
replaced by a wrapper function. GetworkSource ends up importing ssl,
which creates SSLSocket, which inherits from socket.socket and dies if
it is no longer a class.

Fixes #56.