Connection handling

README tweaking
Added doc info
Fixed tests