expose parseconnection() and toaction()
better pin()
basic tests