private final BufferStream gwtCodeStream = new BufferStream();
private WritableStream logFile;
public OophmProxyServer(int proxyPort, final String gwtCodeHost, final int gwtCodePort,
final String logFilename) {
server = Net.get().createServer(new StreamEventHandler() {
@Override
protected void onEvent(Socket stream) {
if (logFilename != null) {
logFile = Fs.get().createWriteStream(logFilename);
}