Cleaned up the port driver code, doesn't quite work yet.
Magic parameters. Yay.
You can post and receieve data now.
Fixes bug where the server crashes if no data is POST'd.