Minor bug fixes, gethostbyaddr implemented.