Whitespace fix in test
Strip trailing whitespace
Fixed bug where OPTION requests would not close
Skip newline at the end of /connections response (matches other implementations)