Implement seek callback support

To allow SPNEGO authentication and http uploads the seek callback has to be implemented in the client program. This code implements the required changes and will allow gssapi authenticated sessions to upload data. Without this code the following error will occur:

 * necessary data rewind wasn't possible