Form socket on initialization (but don't connect)

Simplifies code.