Add persistent connection support

It uses pfsocketopen instead of fsocketopen. Did some initial testing (with hundreds of thousand of jobs and lots of clients) and socket reuse worked great.