len() can not be called on None type

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Use struct module instead of binascii

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Add draft methods to Client class for sending response to the client

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Add sample code to proxy_server querying 8.8.8.8 and sending response to the client

Signed-off-by: Tomas Hozza <thozza@redhat.com>
set SO_REUSEADDR on server sockets

Signed-off-by: Tomas Hozza <thozza@redhat.com>