[HTTP - SocketClient] fixing if bracket syntax style