Fixed memory leak in new_socket_client()

Even though this fix sits on top of https://github.com/nemomobile-packages/libsoup/pull/3, they are totally independent on each other.