Reuse nonce and realm info so you don't need to reauthenticate every time
Have attributes decode to the proper type
Have nonce print well and don't allow duplicate copies

Adding a duplicate copy will replace the previous attr of that type
NewResponse changes the class but not the method
Improve logging on incoming server messages
Use connection.Write so you can make logging easier

By putting all of the writes in a single method, you can log in that method and get all traffic logged
Change error string from function to method
Add TypeString to TLV interface
Add method to return port in []byte