All JaCoCo Maven goals are marked as thread-safe (GitHub #133).
Move the socket initialization to outer scope.

This guarentees that socket is not null.
Merge pull request #156 from mfriedenhagen/move-socket-initialization-to-outer-scope

Move the socket initialization to outer scope.