Simplify optimize_items, and rename it to merge_items
Never test floats for equality
Fix spelling mistake
Give access to the underlying filedescriptor of a connection. This allows users to, after connecting, to set e.g. tcp_keepalive on the socket
Implement heartbeat
Simplify code using pattern matching with guards
Whitespace changes