feat: add host header validation in client requests fix: improve dns resolution error handling refactor: cache epoll events in connection struct