Add server binding thread, add dns_map_has_token

Adds the first basic implementation of the binding thread to server,
aswel as a new function to the dns_map which is used to find the tokens
which are stored in the map.
Add first (crude version) of working client