Fix equality/identity bug in blockwise transfers

Fix bug that sometimes breaks blockwise transfers
Add parser for IPv6 addresses