HTTP Client implementation for spark cores based on TCPClient