Debugging customsockets