Text Interface Writing Uninitialized Characters

When using the text interface the "proto" string was not being null terminated. This is because strncpy never encounters a null terminator in the source string. To fix this, I simply zeroed out the array upon entering the function to ensure that proto is always null terminated even if, for some reason, it never hits the tcp/udp cases in the switch.

Before:
![before](https://f.cloud.github.com/assets/787916/189492/a7e7364a-7e88-11e2-8df5-8b72da1a0cda.png)

After:
![after](https://f.cloud.github.com/assets/787916/189493/ac2e4a72-7e88-11e2-9a63-8591a968a7bd.png)