import socket


def make_request(message):
    """ Build packet for http request """
    host = socket.gethostname()
    REQUEST = "GET"
    VERSION = "HTTP/1.1"
    CRLF = "\r\n"

    request = REQUEST + " " + VERSION + CRLF

    headers = "Host: {0}".format(host) + CRLF

    head = request + headers
    body = message + CRLF
    return head + CRLF + body + CRLF