removed white line
fixed sending to peer id instead of peer
removed or commented debug code
rename get_handle to get_socket