Rename the "middle" part HTTP functions
Rename the sendCommand to make it more clear what they do
Create separate function for HTTPREAD and HTTPACTION

This functions can be used for GET and POST
More uses of doHTTPACTION
Add doHTTPPOSTmiddleWithReply which also reads the data from the server

This function does the same as doHTTPPOSTmiddle, but it also reads the
data that was sent by the server.
Move some functions around
Add function doHTTPPOSTWithReply