Fixed navbar bug (fixes #1), also implemented basic POST support in php sockets mode