class_docstr: HttpClient
  Uses HTTP protocol for communication with its corresponding parameter server,
  namely HttpServer. The HTTP server provides two endpoints, `/parameters` to
  get parameters and `/update` to update the server's parameters.
class_docstr_tok: ["HttpClient","Uses","HTTP","protocol","for","communication","with","its","corresponding","parameter","server",",","namely","HttpServer",".","The","HTTP","server","provides","two","endpoints",",","`","\/parameters","`","to","get","parameters","and","`","\/update","`","to","update","the","server","'s","parameters","."]
code: def __init__(self, port: int = 4000):
      self.master_url = determine_master(port=port)
      self.headers = {"Content-Type": "application/elephas"}
  
imports: import abc
  import numpy
  import socket
  import pickle
  import urllib.request
  from ..utils.sockets import determine_master, send, receive
label_desc: Use image node_id 1 to create a new HttpClient object from inherited base classes: BaseParameterClient with example: obj = HttpClient(port)