changed writeProxyLine into a method on ProxyLine; moved EqualTo into test file.
Merge pull request #2 from racker/dev/songgao

changed writeProxyLine into a method on *ProxyLine; moved EqualTo into test file