server only appened if proto==tcp

Taking a shot at #15