perform a get request using raw sockets