method name is changed to chreate_http_response, bytestring format is changed, Name error exception is added to except, connection shutdown is added for read operations
buffersize increased to 4096, function description is added, print out messages type changed to byte, exceptions are specified, return value cast to bytearray
method name changed to response, \s removed from bytestring formatting,
err_code assigment is added to check_err_response, unefficient methods are removed
small edits