simplify import statement
Improve readability of format-line
mention that sockets are blocking.
KNF
add a way to test for format-line's output
protect from socket errors
Merge pull request #1 from pyr/xymon

update original pull-request to aphyr