add command to send posts
target and socket file as optional arguments
remove obsolete parameter