Fixed sending motd and http reply