Fix FakeSocket tests: null socket object if tests aren't run sequentially.

fake_socket.rb specs get run by rspec3 and fail due to @socket not being defined in each test. Moved instantiation into a before block.