Adding bacon upload hack to test server and protobuf writeDelimitedTo for Swift