Added strlen
Added function to convert address to binary address for a DNS packet