use standard coding style
add pool.js and socketpool.js
only raise pool.socket.error for single connection failure. will retry with limit