toString() implementation for few essential classes

`toString()` is a good idea for value classes holding endpoints, etc.