Unique identify for each socket

Unique identifier for each socket is sent back to the user. A connection
pool is stored.