Added promises to request methods

Each method with a server-request returns now a promise wich returns the
ok or canceled response.
no hard changes. it work's with the features from v.1.0.3