Add Gemfile.lock to gitignore
Use addrinfo instead of sockaddr_in